class AddRatinaleAndPrivateFields < ActiveRecord::Migration
  def self.up
    add_column :reqs, :rationale, :text
    add_column :req_versions, :rationale, :text
    add_column :reqs, :web_only, :integer, :default=>0 # if 1, reqs are never exported
    add_column :req_versions, :web_only, :integer, :default=>0
  end

  def self.down
    remove_column :reqs, :rationale
    remove_column :req_versions, :rationale
    remove_column :reqs, :web_only
    remove_column :req_versions, :web_only
  end
end
